#include<iostream>
using namespace std;
int main()
{
    cout<<"short类型所占字节大小为："<<sizeof(short)<<endl;
    cout<<"int类型所占字节大小为："<<sizeof(int)<<endl;
    cout<<"long类型所占字节大小为："<<sizeof(long)<<endl;
    cout<<"float类型所占字节大小为："<<sizeof(float)<<endl;
    cout<<"double类型所占字节大小为："<<sizeof(double)<<endl;
    cout<<"char类型所占字节大小为："<<sizeof(char)<<endl;
    return 0;
}